#ifndef USERHOME_H
#define USERHOME_H

#include "smallwidget.h"
#include "homefind.h"

#include <QWidget>

namespace Ui {
class UserHome;
}

class UserHome : public QWidget
{
    Q_OBJECT

public:
    explicit UserHome(QWidget *parent = nullptr);
    ~UserHome();


    void refresh();//刷新
signals:
    void changNums();

private slots:
    void on_outlet_btn_clicked();

    void on_import_btn_clicked();


    void on_insert_btn_clicked();

    void on_revies_btn_clicked();

    void on_flushed_btn_clicked();

    void on_quit_btn_clicked();

    void on_delete_btn_clicked();

    void on_find_btn_clicked();

private:
    Ui::UserHome *ui;
    int user_id;

    int home_id  ;
    int home_num ;

    Smallwidget* home_small;//控件指针
    HomeFind *h_find;//查询界面指针
    int home_mark ;//标记符


};

#endif // USERHOME_H
